\(\int \frac {1}{\sqrt {a x^2+b x^5}} \, dx\) [287]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [F]
   Maxima [F]
   Giac [A] (verification not implemented)
   Mupad [F(-1)]

Optimal result

Integrand size = 15, antiderivative size = 32 \[ \int \frac {1}{\sqrt {a x^2+b x^5}} \, dx=-\frac {2 \text {arctanh}\left (\frac {\sqrt {a} x}{\sqrt {a x^2+b x^5}}\right )}{3 \sqrt {a}} \]

[Out]

-2/3*arctanh(x*a^(1/2)/(b*x^5+a*x^2)^(1/2))/a^(1/2)

Rubi [A] (verified)

Time = 0.01 (sec) , antiderivative size = 32, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {2033, 212} \[ \int \frac {1}{\sqrt {a x^2+b x^5}} \, dx=-\frac {2 \text {arctanh}\left (\frac {\sqrt {a} x}{\sqrt {a x^2+b x^5}}\right )}{3 \sqrt {a}} \]

[In]

Int[1/Sqrt[a*x^2 + b*x^5],x]

[Out]

(-2*ArcTanh[(Sqrt[a]*x)/Sqrt[a*x^2 + b*x^5]])/(3*Sqrt[a])

Rule 212

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))*ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 2033

Int[1/Sqrt[(a_.)*(x_)^2 + (b_.)*(x_)^(n_.)], x_Symbol] :> Dist[2/(2 - n), Subst[Int[1/(1 - a*x^2), x], x, x/Sq
rt[a*x^2 + b*x^n]], x] /; FreeQ[{a, b, n}, x] && NeQ[n, 2]

Rubi steps \begin{align*} \text {integral}& = -\left (\frac {2}{3} \text {Subst}\left (\int \frac {1}{1-a x^2} \, dx,x,\frac {x}{\sqrt {a x^2+b x^5}}\right )\right ) \\ & = -\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a} x}{\sqrt {a x^2+b x^5}}\right )}{3 \sqrt {a}} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.01 (sec) , antiderivative size = 54, normalized size of antiderivative = 1.69 \[ \int \frac {1}{\sqrt {a x^2+b x^5}} \, dx=-\frac {2 x \sqrt {a+b x^3} \text {arctanh}\left (\frac {\sqrt {a+b x^3}}{\sqrt {a}}\right )}{3 \sqrt {a} \sqrt {x^2 \left (a+b x^3\right )}} \]

[In]

Integrate[1/Sqrt[a*x^2 + b*x^5],x]

[Out]

(-2*x*Sqrt[a + b*x^3]*ArcTanh[Sqrt[a + b*x^3]/Sqrt[a]])/(3*Sqrt[a]*Sqrt[x^2*(a + b*x^3)])

Maple [A] (verified)

Time = 2.14 (sec) , antiderivative size = 43, normalized size of antiderivative = 1.34

method result size
default \(-\frac {2 x \sqrt {b \,x^{3}+a}\, \operatorname {arctanh}\left (\frac {\sqrt {b \,x^{3}+a}}{\sqrt {a}}\right )}{3 \sqrt {b \,x^{5}+a \,x^{2}}\, \sqrt {a}}\) \(43\)

[In]

int(1/(b*x^5+a*x^2)^(1/2),x,method=_RETURNVERBOSE)

[Out]

-2/3/(b*x^5+a*x^2)^(1/2)*x*(b*x^3+a)^(1/2)*arctanh((b*x^3+a)^(1/2)/a^(1/2))/a^(1/2)

Fricas [A] (verification not implemented)

none

Time = 0.27 (sec) , antiderivative size = 75, normalized size of antiderivative = 2.34 \[ \int \frac {1}{\sqrt {a x^2+b x^5}} \, dx=\left [\frac {\log \left (\frac {b x^{4} + 2 \, a x - 2 \, \sqrt {b x^{5} + a x^{2}} \sqrt {a}}{x^{4}}\right )}{3 \, \sqrt {a}}, \frac {2 \, \sqrt {-a} \arctan \left (\frac {\sqrt {b x^{5} + a x^{2}} \sqrt {-a}}{a x}\right )}{3 \, a}\right ] \]

[In]

integrate(1/(b*x^5+a*x^2)^(1/2),x, algorithm="fricas")

[Out]

[1/3*log((b*x^4 + 2*a*x - 2*sqrt(b*x^5 + a*x^2)*sqrt(a))/x^4)/sqrt(a), 2/3*sqrt(-a)*arctan(sqrt(b*x^5 + a*x^2)
*sqrt(-a)/(a*x))/a]

Sympy [F]

\[ \int \frac {1}{\sqrt {a x^2+b x^5}} \, dx=\int \frac {1}{\sqrt {a x^{2} + b x^{5}}}\, dx \]

[In]

integrate(1/(b*x**5+a*x**2)**(1/2),x)

[Out]

Integral(1/sqrt(a*x**2 + b*x**5), x)

Maxima [F]

\[ \int \frac {1}{\sqrt {a x^2+b x^5}} \, dx=\int { \frac {1}{\sqrt {b x^{5} + a x^{2}}} \,d x } \]

[In]

integrate(1/(b*x^5+a*x^2)^(1/2),x, algorithm="maxima")

[Out]

integrate(1/sqrt(b*x^5 + a*x^2), x)

Giac [A] (verification not implemented)

none

Time = 0.29 (sec) , antiderivative size = 47, normalized size of antiderivative = 1.47 \[ \int \frac {1}{\sqrt {a x^2+b x^5}} \, dx=-\frac {2 \, \arctan \left (\frac {\sqrt {a}}{\sqrt {-a}}\right ) \mathrm {sgn}\left (x\right )}{3 \, \sqrt {-a}} + \frac {2 \, \arctan \left (\frac {\sqrt {b x^{3} + a}}{\sqrt {-a}}\right )}{3 \, \sqrt {-a} \mathrm {sgn}\left (x\right )} \]

[In]

integrate(1/(b*x^5+a*x^2)^(1/2),x, algorithm="giac")

[Out]

-2/3*arctan(sqrt(a)/sqrt(-a))*sgn(x)/sqrt(-a) + 2/3*arctan(sqrt(b*x^3 + a)/sqrt(-a))/(sqrt(-a)*sgn(x))

Mupad [F(-1)]

Timed out. \[ \int \frac {1}{\sqrt {a x^2+b x^5}} \, dx=\int \frac {1}{\sqrt {b\,x^5+a\,x^2}} \,d x \]

[In]

int(1/(a*x^2 + b*x^5)^(1/2),x)

[Out]

int(1/(a*x^2 + b*x^5)^(1/2), x)